package com.ctshk.rpc.season.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * @author  杨林
 * @date  2021/4/16 18:24
 * @version 1.0
 */
@Data
@ApiModel(value="DepartCalendarReq 对象", description="资源中心固定套票出行日历条件req")
public class DepartCalendarReq  implements Serializable {

    @ApiModelProperty(value = "套票产品id")
    @NotNull(message = "套票id 不能为空")
    private  Long productId;

    @ApiModelProperty(value = "开始日期")
    @NotNull(message = "开始日期 不能为空")
    private LocalDate startDate;

    @ApiModelProperty(value = "结束日期")
    @NotNull(message = "结束日期 不能为空")
    private LocalDate endDate;


}